home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / cxl41.arc / CXLMOU.H < prev    next >
C/C++ Source or Header  |  1989-03-05  |  2KB  |  55 lines

  1.  
  2. /*
  3.    ┌──────────────────────────────────────────────────────────────────────────┐
  4.    │                                                                          │
  5.    │  CXLMOU.H - CXL (c) 1987, 1988 by Mike Smedley.                          │
  6.    │                                                                          │
  7.    │  This header file contains function prototypes and definitions for       │
  8.    │  Microsoft compatible mouse functions.                                   │
  9.    │                                                                          │
  10.    └──────────────────────────────────────────────────────────────────────────┘
  11. */
  12.  
  13.  
  14. #if defined(__TURBOC__)                             /*  Turbo C  */
  15.     #if __STDC__
  16.         #define _Cdecl
  17.     #else
  18.         #define _Cdecl  cdecl
  19.     #endif
  20.     #define _Near
  21. #elif defined(__ZTC__)                              /*  Zortech C++  */
  22.     #define _Cdecl
  23.     #define _Near
  24. #elif defined(M_I86) && !defined(__ZTC__)           /*  Microsoft C/QuickC  */
  25.     #if !defined(NO_EXT_KEYS)
  26.         #define _Cdecl  cdecl
  27.         #define _Near   near
  28.     #else
  29.         #define _Cdecl
  30.         #define _Near
  31.     #endif
  32. #elif defined(__POWERC__)                           /*  Power C  */
  33.     #define _Cdecl
  34.     #define _Near
  35. #endif
  36.  
  37.  
  38. /*---------------------------[ Function Prototypes ]-------------------------*/
  39.  
  40. void    _Cdecl msbpress(int button,int *bstat,int *bcount,int *x,int *y);
  41. void    _Cdecl msbreles(int button,int *bstat,int *bcount,int *x,int *y);
  42. void    _Cdecl mscursor(int curtype,int smask,int cmask);
  43. void    _Cdecl msgotoxy(int x,int y);
  44. void    _Cdecl mshbounds(int left,int right);
  45. void    _Cdecl mshidecur(void);
  46. int     _Cdecl msinit(void);
  47. void    _Cdecl msmotion(int *xcount,int *ycount);
  48. void    _Cdecl msshowcur(void);
  49. void    _Cdecl msspeed(int xratio,int yratio);
  50. void    _Cdecl msstatus(int *bstat,int *x,int *y);
  51. void    _Cdecl msvbounds(int top,int bottom);
  52.  
  53. extern int _Near _Cdecl _mouse;
  54.  
  55.